﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Payton.WP7.Common.Configration
{
    public class OAuthSettings
    {
        /// <summary>
        /// 微博平台API地址
        /// </summary>
        public string CLIENT = "";

        /// <summary>
        /// 使用者的ID，OAUTH服务的直接使用者是开发者开发出来的应用。
        /// </summary>
        public string CONSUMER_KEY = "3587646579";

        /// <summary>
        /// CONSUMER_KEY对应的密钥
        /// </summary>
        public string CONSUMER_KEY_SECRET = "fa997b0e0e3b048b5fda4f4627284af9";

        /// <summary>
        /// OAuth版本
        /// </summary>
        public string OAUTH_VERSION = "1.0";

        /// <summary>
        /// Request Token URL: 获取未授权的Request Token服务地址
        /// </summary>
        public string PATH_REQUEST_TOKEN = "http://api.t.sina.com.cn/oauth/request_token";

        /// <summary>
        /// User Authorization URL: 获取用户授权的Request Token服务地址
        /// </summary>
        public string PATH_AUTHORIZE = "http://api.t.sina.com.cn/oauth/authorize";

        /// <summary>
        /// Access Token URL: 用授权的Request Token换取Access Token的服务地址
        /// </summary>
        public string PATH_ACCESS_TOKEN = "http://api.t.sina.com.cn/oauth/access_token";

        public string CALLBACK_URL = "";

        ///// <summary>
        ///// 使用者的ID，OAUTH服务的直接使用者是开发者开发出来的应用。
        ///// </summary>
        //public string CONSUMER_KEY_TENCENT = "4b877e498463466191c06381ba403f9d";

        ///// <summary>
        ///// CONSUMER_KEY对应的密钥
        ///// </summary>
        //public string CONSUMER_KEY_SECRET_TENCENT = "8c7b30927ee8cb44d94d5a60326d2e6f";

        ///// <summary>
        ///// Request Token URL: 获取未授权的Request Token服务地址
        ///// </summary>
        //public string PATH_REQUEST_TOKEN_TENCENT = "https://open.t.qq.com/cgi-bin/request_token";

        ///// <summary>
        ///// User Authorization URL: 获取用户授权的Request Token服务地址
        ///// </summary>
        //public string PATH_AUTHORIZE_TENCENT = "https://open.t.qq.com/cgi-bin/authorize";

        ///// <summary>
        ///// Access Token URL: 用授权的Request Token换取Access Token的服务地址
        ///// </summary>
        //public string PATH_ACCESS_TOKEN_TENCENT = "https://open.t.qq.com/cgi-bin/access_token";
    }

    
}
